﻿using SF.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SF.Ucenter.mall
{
    public partial class orderDetail : System.Web.UI.Page
    {
        protected string usingMsg = "", jsMsg = "", htmlMsg = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                /*验证用户是否登录*/
                if (Session[DTKeys.SESSION_ADMIN_INFO] as Model.sf_user_info == null)
                {
                    Response.Redirect("index.aspx");
                }
                string orderId = Request["orderID"];
                string type = Request["type"];
                Model.sf_user_info userinfo = Session[DTKeys.SESSION_ADMIN_INFO] as Model.sf_user_info;
                string templateType = new BLL.sf_modeconfig().GetModel("settingNum='" + userinfo.templatesNum + "'").call_encoding;
                SF.Web.UI.mallCs.orderDetail loadingorderDetail = new Web.UI.mallCs.orderDetail();
                usingMsg = loadingorderDetail.loaddingUsing(userinfo, templateType);
                jsMsg = loadingorderDetail.loaddingJs(userinfo, templateType);
                htmlMsg = loadingorderDetail.loaddingHtml(userinfo, orderId, type, templateType);
            }

        }
    }
}